package com.cxd.performance.domain;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.alibaba.excel.annotation.write.style.HeadStyle;
import com.alibaba.excel.enums.poi.BorderStyleEnum;
import com.alibaba.excel.enums.poi.FillPatternTypeEnum;
import lombok.Data;

@Data
@HeadStyle(fillPatternType = FillPatternTypeEnum.SOLID_FOREGROUND, fillForegroundColor = 52)
// 头字体设置成20
@HeadFontStyle(fontHeightInPoints = 10)
// 内容的背景设置成绿色 IndexedColors.GREEN.getIndex()
@ContentStyle(fillPatternType = FillPatternTypeEnum.SOLID_FOREGROUND, fillForegroundColor = 11,borderLeft = BorderStyleEnum.THIN,
        borderRight = BorderStyleEnum.THIN,borderTop = BorderStyleEnum.THIN,borderBottom = BorderStyleEnum.THIN)
public class PerformanceAmountBaseInfo {

    @ExcelProperty(value = "类别",index = 0)
    private String category;

    @ExcelProperty(value = "姓名",index = 1)
    private String employeeName;

    @ExcelProperty(value = "标准单价",index = 2)
    private String price;

    @ExcelProperty(value = "绩效评分",index = 3)
    private String performanceScore;

    @ExcelProperty(value = "奖惩比例",index = 4)
    private String proportion;

    @ExcelProperty(value = "打卡人天",index = 5)
    private String clockDay;

    @ExcelProperty(value = "标准奖金",index = 6)
    private String standardPerformance;

    @ExcelProperty(value = "增减奖金1",index = 7)
    private String bonus1;

    @ExcelProperty(value = "增减奖金2",index = 8)
    private String bonus2;

    @ExcelProperty(value = "本次发放金额",index = 9)
    private String finalPerformance;

    @ExcelProperty(value = "备注",index = 10)
    private String remark;

}
